const WEIBO_APP_KEY = '3454329089';
const WEIBO_UID = '5084245953';

export const weiboShare = (imgURL: string, path: string) => {
  window.open(
    `https://service.weibo.com/share/share.php?` +
      `appkey=${WEIBO_APP_KEY}` +
      `&ralateUid=${WEIBO_UID}` +
      `&pic=${imgURL}` +
      `&title=这张图不错哦, 给大家分享一下 ${path}`
  );
};
